package com.dym.staff.services;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dym.staff.dao.SectionMapper;

@Service
public class SectionServicesImpl implements SectionServices {

	@Autowired
	SectionMapper mapper;
	
	@Override
	public List<Map<String, Object>> findAll() {
		return mapper.findAll();
	}

	@Override
	public List<Map<String, Object>> competentAll() {
		return mapper.competentAll();
	}

}
